﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;

namespace MiniProfilerWebApplication1.Biz.Models
{    
    public class Product
    {
        #region 公共属性
        [Column("Id")]
        public long ProductId { get; set; }

        public long CategoryId { get; set; }

        public string ProductName { get; set; }

        public decimal Price { get; set; }
        #endregion

        public virtual Category Category { get; set; }
    }
}
